﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TTEngine.TTMath
{
    public struct Border
    {
        public byte left;
        public byte right;
        public byte top;
        public byte bottom;
        public static Border Zero
        {
            get
            {
                return new Border { bottom = 0, left = 0, right = 0, top = 0 };
            }
        }
        public static Border One
        {
            get
            {
                return new Border { bottom = 1, left = 1, right = 1, top = 1 };
            }
        }
        public static Border Two
        {
            get
            {
                return new Border { bottom = 2, left = 2, right = 2, top = 2 };
            }
        }
        public static Border Create(byte border)
        {
            return new Border { bottom = border, left = border, right = border, top = border };

        }
    }
}
